all:threadpool promise async packaged_task

threadpool:threadpool.cpp
	g++ -o $@ $^ -std=c++11 -pthread

packaged_task:packaged_task.cc
	g++ -o $@ $^ -std=c++11 -pthread

promise:promise.cc
	g++ -o $@ $^ -std=c++11 -pthread

async:async.cc
	g++ -o $@ $^ -std=c++11 -pthread

.PHONY:clean
clean:
	rm threadpool async promise packaged_task -rf